#!/bin/sh

rm xy2degb
ifort -o xy2degb xy2degb.f 


ls ./file > filelist

while read line
do
	echo " file 1: $line"
#	./xy2degb saf2-right.txt
	./xy2degb $line
done<filelist
